package com.ruoyi.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品评论对象 mycomment
 *
 * @author 林道敬
 * @date 2025-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mycomment")
public class Mycomment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /** $column.columnComment */
    private long id;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likeNum;

    /** 喜欢数 */
    @Excel(name = "喜欢数")
    private Long loveNum;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 推荐分 */
    @Excel(name = "推荐分")
    private Long scoreNum;

    private Boolean isLiked;

    private Boolean isLoved;

    /** 商品id */
    private Long productId;


}
